package com.atguigu.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor//有参数的构造方法
@NoArgsConstructor//无参数的构造
public class GuliException extends RuntimeException{
    private Integer code;//状态码

    private String msg;//异常的信息

}

